Merchant of record platform for digital products. Acquired by Stripe in October 2024. Being absorbed into 'Stripe Managed Payments' (announced May 2025, private preview). No official Python SDK exists — only community-maintained libraries. REST API uses JSON:API spec with Bearer auth.
pip install requestsVerified import paths — ran on the pinned version, not inferred.
Direct REST API usage. Response follows JSON:API spec — data is in response['data'], not response directly.
For new projects, join the Stripe Managed Payments waitlist. For existing Lemon Squeezy integrations, no immediate action needed — Lemon Squeezy API continues operating.
Use requests or httpx against the REST API directly. The API is stable and documented at docs.lemonsqueezy.com/api.
Access data at response.json()['data'] for single resources or list responses. Meta and links are at the top level.
Set headers: {'Accept': 'application/vnd.api+json', 'Content-Type': 'application/vnd.api+json'}Create separate API keys for test and live modes from Settings > API.
Address pip warnings by using a virtual environment (e.g., `python -m venv .venv && source .venv/bin/activate`) and consider updating pip (`pip install --upgrade pip`). If running in a container, ensure appropriate user permissions are used instead of root for package installations.
Ensure you have created an API key in your Lemon Squeezy dashboard (Settings » API), and include it in your request headers as `Authorization: Bearer YOUR_API_KEY`.
Always check the HTTP status code (`response.status_code`) and raw response text (`response.text`) before attempting `response.json()`. Ensure your requests include `Accept: application/vnd.api+json` and `Content-Type: application/vnd.api+json` headers.
Consult the Lemon Squeezy API documentation for the specific endpoint to identify all required parameters and their expected data types and formats, then adjust your request payload accordingly.
Implement exponential backoff or other rate-limiting strategies in your application. Monitor the `X-Ratelimit-Limit` and `X-Ratelimit-Remaining` headers in successful responses to manage your call frequency.
No dependency data recorded yet.